package com.caojing.haolemai.ui.category.categorydclickactivity;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.categoryclickbean.CategoryClickBean;
import com.caojing.haolemai.httputils.HttpUtils;

import java.util.HashMap;

/**
 * Created by My on 2016/10/19.
 */
public class CategoryClickContract {

    public interface Model extends IBaseModel {

        public void getSuccessCategoryClickData(HashMap<String,String> params, HttpUtils.HttpCallBack<CategoryClickBean> callBack);

    }

    public interface View extends IBaseView {

        public void onSuccessCategoryClick(CategoryClickBean brandBean);

        public void onFailCategoryClick(String msg);

    }

    public interface Presenter extends IBasePresenter {
        public void initCategoryClickData(HashMap<String,String> params);
    }
}
